<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$head[title]}</title>
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="{SKIN_PATH}base.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="data/config.js"></script>
<script language="JavaScript" src="images/js/jquery.min.js"></script>

<script src="images/js/hover.js" type="text/javascript"></script>
<script src="images/js/slider.js" type="text/javascript"></script>
 <script type="text/javascript" src="images/js/jquery-1.4.2.min.js"></script> 
<script language="JavaScript" src="images/js/common.js"></script>
<!--<script type="text/javascript" src="images/js/login.js"></script>
<script language="JavaScript" src="images/js/validator.js"></script>-->
<!--[if lte IE 6]>
<script type="text/javascript" src="galjs/DD_belatedPNG.js"></script>
<script>
DD_belatedPNG.fix('#loginBar .home');
</script>
<![endif]-->

 <script language="javascript">
   function formartsosubmit(){
       var name=$('#sorts').text();
    var num="all";
    switch (name) {
	 case '全部' :num="all";break ;
     case '资讯' :num="news";break ;
     case '图片' :num="picture";break ;
     case '产品' :num="product";break ;
     //case '艺术家' :num=4;break ;
     //case '专题' :num=5;break ;
     //case '图书' :num=6;break ;
	 //case '画廊' :num=7;break ;
    }
	$('#type').val = num;
    if($('#keyword').val()==""){
        alert('请输入搜索条件！');
        //$('#keyword').focus();
    }else{
		//window.open(link[num]+encodeURI($('#keyword').val()),'_blank');
		$('#site_search').submit();
    }
}
</script>

</head>
<body onload="menu_selected('{php echo $catid ? $catid : $mod;}')">
<!--[if lte IE 6]>
<script type="text/javascript" src="galjs/DD_belatedPNG.js"></script>
<script>
DD_belatedPNG.fix('#loginBar .home');
</script>
<![endif]-->

<script type="text/javascript">
function addmark() {
    title='{$head[title]}';
	//alert(title);
    url=window.location.href;
    var a ;
    var b ;
    if(title==''){
       a=document.title;
    }else{
       a=title;
    }
    if(url==''){
       b=parent.location.href;
    }else{
       b=url;
    }
    if (window.sidebar) {
        window.sidebar.addPanel(a, b, "")
    } else if (document.all) {
        window.external.AddFavorite(b, a)
    }
}
function SetHome(obj,vrl){

        try{
                obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl);
        }
        catch(e){
                if(window.netscape) {
                        try {
                                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
                        }
                        catch (e) {
                                alert("此操作被浏览器拒绝！\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。");
                        }
                        var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
                        prefs.setCharPref('browser.startup.homepage',vrl);
                 }
        }
}
</script>
 <!-- 用户登录区域 -->
 <div id="topFix">
      <div id="topbar" class="bg">
        <div class="pw fix">
	<!--<div class="loginBar">
    <div id="div_login" style="display:none">
		<form action="{$MODULE[member][url]}login.php" method="post" name="login" onsubmit="return loginSubmit(this, {PASSPORT_ENABLE});">
		
		用户名：<input type="text" name="username" size="12" class="input_blur"/>
		密码：<input type="password" name="password" size="12" class="input_blur"/>
			  <input type="submit" name="dosubmit" value="登录" class="button_style"/>
			  <input type="button" name="register" value="注册" onclick="redirect('{$MODULE[member][url]}register.php')" class="button_style"/>
			  <input type="hidden" name="cookietime" value="0"/>
		</form>
	</div>
    <div id="div_logined" style="display:none">
		<strong id="logined_username" ></strong>，<a href="{$MODULE[member][url]}">会员中心</a> | 
        <a href="{if PASSPORT_ENABLE}{$MODULE[member][url]}logout.php{else}javascript:logout('{$MODULE[member][url]}logout.php?action=ajax');{/if}">退出登录</a>
	</div>
  </div>-->
  
           <!-- <div class="topTel">客服电话：<span>400 690 1016</span></div>-->
          <div class="select">                       
            <div class="other">
			
			<a class="" href=" javascript:void(0);" onclick="SetHome(this,window.location)" title="设为首页" >设为首页</a> 
			<a class="" href=" javascript:void(0);" onclick="addmark()" title="收藏网站" >收藏网站</a> 
			
			</div>
          </div>
        </div>
        <!--<div class="cutLine"></div>-->
      </div>
    </div>

<div class="pw adv980 mt10">
<!--AdForward Begin:-->
<script language="javascript" src="data/js.php?id=14"></script>
<!--AdForward End-->
</div>
<div class="pw fix" id="top">
        <div id="logo"><strong><a title="颐和德艺术网" href="#">颐和德艺术网</a></strong><em></em><div class="logoTxt"><span> </span></div></div>
        <div class="fr search" id="topSearch">
		<form name="site_search" id="site_search" action="{$MODULE[search][url]}" target="_blank">
          <a style="cursor:pointer" onclick="javascript:formartsosubmit();" target="_parent" class="sbtn" href="javascript:;">搜索</a>
		  <input type="hidden" name="s" id="button" value="搜索"/>
		  <input type="hidden" name="type" id="type" value=""/>
            <div class="sRadius">
            <div class="class">
                <div class="classVal"><b class="dropdown"></b><em id="sorts">全部</em></div>
                <ul class="classify lih">
				<li>全部</li>
                <li>资讯</li>
                <li>图片</li>
                <li>产品</li>
                
                </ul>
			</div>
			<input type="text" onkeypress="javascript:clickButton();" id="keyword" name="q" class="sInput">
			</div>
			  </form>			  			  			  
			 
			  </div>
    </div>
	<div id="menu">
	<div class="level0">
	<ul>
	  <li ><a href="" id="menu_phpcms"><span>首页</span></a></li>
	  {tag_一级栏目}
	</ul>
	</div>
	</div>
